package com.tornado.system.model;

public class Shopping {
    @Override
	public String toString() {
		return "Shopping [id=" + id + ", goodsId=" + goodsId + ", userId="
				+ userId + ", count=" + count + "]";
	}

	private Integer id;

    private Integer goodsId;

    private Integer userId;

    private Integer count;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

	public Shopping(Integer id, Integer goodsId, Integer userId, Integer count) {
		super();
		this.id = id;
		this.goodsId = goodsId;
		this.userId = userId;
		this.count = count;
	}
	
	public Shopping() {
	}

	public Shopping(Integer goodsId, Integer userId, Integer count) {

		this.goodsId = goodsId;
		this.userId = userId;
		this.count = count;
	}
	
}